﻿using B.S.BasicData.ErrorCode;
using MediatR;

namespace B.S.BasicData.Write.Application.Common.Leave
{
    public class LeaveAddCommand:IRequest<ApiResult<int>>
    {
        public string LeaveName { get; set; }

        /// <summary>
        /// 部门
        /// </summary>
        public int DepartmentId { get; set; }

        /// <summary>
        /// 请假类别
        /// </summary>
        public int TypeId { get; set; }
        public string typeIds { get; set; } = string.Empty;

        /// <summary>
        /// 请假时间
        /// </summary>
        public DateTime leaveTime { get; set; }

        /// <summary>
        /// 报道时间
        /// </summary>
        public DateTime EndleaveTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 请假原因
        /// </summary>
        public string cause { get; set; }

        /// <summary>
        /// 审批原因
        /// </summary>
        public string leavecause { get; set; }

        /// <summary>
        /// 部门领导
        /// </summary>
        public string DepartmentManager { get; set; }

        /// <summary>
        /// 审批状态
        /// </summary>
        public int Sates { get; set; }

        /// <summary>
        /// 删除标识
        /// </summary>
        public bool IsDeleted { get; set; }
        public int Number { get; set; }
        public int UserId { get; set; }

    }
}
